import json from "rollup-plugin-json"
import RollupPluginNodeResolve from "rollup-plugin-node-resolve"
import commonjs from "rollup-plugin-commonjs"

export default {
    input: "src/index.js",
    output: {
        // file: "dist/bunder.js",
        // format: "iife"
        dir: "dist",
        format: "amd"
    },
    plugins: [
        json(),
        RollupPluginNodeResolve(),
        commonjs()
    ]
}